class Teacher():
    _MIN_SALLARY = 4000

    def __init__(self, name, age, gender, birthday, score, sallary ) -> None:
        self.name  = name
        self.age = age
        self.gender = gender
        self.birthday = birthday
        self._sallary = sallary
        self._score = score

    @property
    def score(self):
        return self._score

    def score(self, score):
        if type(score) in (int):
            self._score = score
        else:
            ...
        
    @property
    def sallary(self):
        return self._sallary

    @sallary.setter
    def sallary(self, sallary):
        if type(sallary) in (int):
            if sallary <= self.__class__._MIN_SALLARY:
                self._sallary = self.__class__._MIN_SALLARY

    def test(self):
        ...

    def say(self):
        print(f'大家好，我的名字是{self.name}')


